package com.jmb.api.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jmb.api.model.entity.ApiTestCaseRelyData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jmb.api.model.to.api.rely.ApiTestCaseRelyDataTO;
import com.jmb.api.model.vo.api.rely.ApiRelyDataVO;

import java.util.List;

/**
* @author jinbo
* @description 针对表【api_test_case_rely_data(接口依赖)】的数据库操作Mapper
* @createDate 2025-04-08 13:53:56
* @Entity com.jmb.api.model.entity.ApiTestCaseRelyData
*/
public interface ApiTestCaseRelyDataMapper extends BaseMapper<ApiTestCaseRelyData> {

    ApiRelyDataVO selectRelyDataByName(String relyName);

    IPage<ApiRelyDataVO> selectRelyDataList(IPage<ApiRelyDataVO> page, ApiTestCaseRelyDataTO caseRelyDataTO);

    ApiRelyDataVO selectRelyDataById(Integer relyId);
    ApiRelyDataVO selectRelyDataByIdName(String relyName,Integer relyId);
    List<ApiRelyDataVO> checkRelyName(ApiTestCaseRelyData ifRelyDataDO);
}




